package cn.com.wangluotongxin.linux.service;

import cn.com.wangluotongxin.linux.dto.FolderInfoDto;
import cn.com.wangluotongxin.linux.form.DeleteDirForm;
import cn.com.wangluotongxin.linux.vo.FolderInfoVo;
import org.springframework.web.multipart.MultipartFile;

import java.nio.file.Path;
import java.util.List;

public interface IFolderService {

    List<FolderInfoVo> list(FolderInfoDto dto);

    void createDirectories(String path);

    void deleteDir(DeleteDirForm form);

    void uploadDir(MultipartFile file, String filePath, String dirPath);
}
